package com.ruoyi.web.mapper;

import java.util.List;
import com.ruoyi.web.domain.DemoCustomer;
import org.apache.ibatis.annotations.Mapper;

/**
 * 顾客Mapper接口
 *
 * @author pei
 * @date 2024-06-02
 */
@Mapper
public interface DemoCustomerMapper
{
    /**
     * 查询顾客
     *
     * @param cId 顾客主键
     * @return 顾客
     */
    public DemoCustomer selectDemoCustomerByCId(Long cId);

    /**
     * 查询顾客列表
     *
     * @param demoCustomer 顾客
     * @return 顾客集合
     */
    public List<DemoCustomer> selectDemoCustomerList(DemoCustomer demoCustomer);

    /**
     * 新增顾客
     *
     * @param demoCustomer 顾客
     * @return 结果
     */
    public int insertDemoCustomer(DemoCustomer demoCustomer);

    /**
     * 修改顾客
     *
     * @param demoCustomer 顾客
     * @return 结果
     */
    public int updateDemoCustomer(DemoCustomer demoCustomer);

    /**
     * 删除顾客
     *
     * @param cId 顾客主键
     * @return 结果
     */
    public int deleteDemoCustomerByCId(Long cId);

    /**
     * 批量删除顾客
     *
     * @param cIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDemoCustomerByCIds(Long[] cIds);
}
